From db6127a11868c1e6bf84ee4f8f64cd3b590574ee Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Fri, 12 Jan 2018 22:56:11 +0000 Subject: [PATCH] HeaderBar: Explain use in conjunction w/ GtkWindow MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit After hinting how good GtkHeaderBar is for GtkWindow, let’s link to the latter and indicate how users can make the two work together. --- gtk/gtkheaderbar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index 08e975749c..34aedc71a6 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -50,6 +50,10 @@ * * GtkHeaderBar can add typical window frame controls, such as minimize, * maximize and close buttons, or the window icon. + * + * For these reasons, GtkHeaderBar is the natural choice for use as the custom + * titlebar widget of a #GtkWindow (see gtk_window_set_titlebar()), as it gives + * features typical of titlebars while allowing the addition of child widgets. */ #define DEFAULT_SPACING 6 -- 2.30.2